package com.example.feignclient.client;

import com.example.feignclient.Entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

@FeignClient("userService")
public interface UserClient{
	@GetMapping("/user/selectById")
	Map<String,Object> findById(String userId);

	@GetMapping("/user/selectCountById")
	Map<String,Object> selectCountById(String userId);


}